<template>
  <div class="register">
    <!-- navbar -->
    <div class="navbar">
      <div class="left">
        <img src="imgs/back.png" alt="" />
      </div>
      <div class="middle">快速注册</div>
    </div>
    <!-- 内容区域 -->
    <div class="content">
      <div class="form">
        <div class="form-item">
          <input
            type="text"
            placeholder="请输入您的手机号"
           
          />
        </div>
        <div class="form-item">
          <input
            type="text"
            placeholder="请输入您的昵称"
            
          />
        </div>
        <div class="form-item code">
          <input
            type="password"
            placeholder="请设置您的密码"
           
          />
        </div>
      </div>
      <div class="login-btn" @click="registerUser">快速注册</div>
      <div class="tip">
        注册即同意<span style="margin-left: 6px">服务协议</span>
      </div>
    </div>
  </div>
</template>


<script>
    export default {
        
    }
</script>

<style scoped>
.navbar {
  z-index: 100;
  display: flex;
  align-items: center;
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 44px;
  line-height: 44px;
  color: #fff;
  font-weight: 800;
  background-color:  	#F4A460;
}

.left {
  width: 0px;
}
.middle {
  flex: 1;
  font-size: 18px;
  text-align: center;
}
.register {
  height: 100vh;
  background: #f5f5f5;
}
.navbar .left img {
  display: block;
  width: 24px;
  height: 24px;
  padding: 10px;
}
/* 内容区域 */
.content {
  padding: 64px 20px;
}
.form-item {
  display: flex;
  height: 44px;
  margin-top: 20px;
  background-color: #fff;
}
.form-item input {
  padding: 0 10px;
  flex: 1;
  border: 0;
}
.login-btn {
  height: 44px;
  line-height: 44px;
  text-align: center;
  color: #fff;
  margin: 30px 0;
  border-radius: 20px;
  background-color:  	#F4A460;
}
.tip span {
  color:  	#F4A460;
  text-decoration: underline;
}

</style>